package net.starwifi.duobao.service.impl;

import net.starwifi.duobao.entity.Ggljp;
import net.starwifi.duobao.repository.GgljpRepository;
import net.starwifi.duobao.service.BaseServiceImpl;
import net.starwifi.duobao.service.GgljpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GgljpServiceImpl extends BaseServiceImpl<Ggljp,Long> implements GgljpService {


    //@Autowired
    //MemberRepository repository;
    @Autowired
    GgljpRepository ggljpRepository;


    @Override
    public Ggljp findByGglhdid(Long gglhdid) {
        return ggljpRepository.findByGglhdid(gglhdid);
    }

    @Override
    public List<Ggljp> List(Long gglhdid) {
        return ggljpRepository.List(gglhdid);
    }

}
